package org.xy.vte.sql;

/**
 * @Classname SqlConfig
 * @Description 获取执行的sql，这样才能知道数据库的表结构
 * @Date 2024/6/21 16:55
 * @Created by jinxiaoyao
 */
public class SqlConfig {
    // 生成字段信息的sql
    private static String tableColumnsSql = "SELECT * FROM information_schema.COLUMNS WHERE TABLE_NAME= ?";
    // 生成表信息的sql
    private static String tableInfoSql = "SELECT * FROM information_schema.TABLES WHERE TABLE_NAME = ?";

    public static String getTableColumnsSql() {
        return tableColumnsSql;
    }

    public static String getTableInfoSql() {
        return tableInfoSql;
    }
}
